package com.mediators
{
	import com.views.UITop;
	
	import org.puremvc.as3.interfaces.IMediator;
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.mediator.Mediator;
	
	import starling.events.Event;
	
	public class UITopMediator extends Mediator implements IMediator
	{
		public const NAME : String = "UITopMediator";
		public function UITopMediator(viewComponent: UITop)
		{
			super(NAME, viewComponent);
			
			viewComponent.filebtn.addEventListener(Event.TRIGGERED, Onfilebtn);
		}
		
		public override function listNotificationInterests():Array
		{
			return [];
		}
		
		public override function handleNotification(notification:INotification):void
		{
			
		}
		
		private function Onfilebtn(event : Event) : void
		{
			trace("-------------");
		}
	}
}